//
//  UITextField+extension.swift
//  ProjectDemo
//
//  Created by caoxiaozhu on 2018/8/15.
//  Copyright © 2018年 caoxiaozhu. All rights reserved.
//

import UIKit

extension UITextField{
    
    convenience init(frame : CGRect, placeHolder : String, fontSize : CGFloat = 14){
        self.init(frame: frame)
        self.placeholder = placeHolder
        self.borderStyle = .roundedRect
        self.font = UIFont.systemFont(ofSize: fontSize)
    }
}
